import require from "@/utils/require";
export function getLogin(data:{}){
    return require({
        method:'post',
        url:'v1/login',
        data
    })
}
export function getAll(data:any){
    return require({
        method:'post',
        url:'/users/foo',
        data
    })
}
export function getDel(data:any){
    console.log(data);
    return require({
        method:'post',
        url:'/users/bar',
        data
    })
}
export function getAdd(data:any){
    console.log(data);
    return require({
        method:'post',
        url:'/users/add',
        data
    })
}
export function getUpd(data:any){
    console.log(data);
    return require({
        method:'post',
        url:'/users/upd',
        data
    })
}
